package com.dream.service;

import com.dream.dto.user.registration.RegistrationDTO;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.provisioning.UserDetailsManager;

/**
 * Created by IntelliJ IDEA.
 * User: Gang Zhong
 * Date: 13-3-15
 * Time: 上午1:31
 */
public interface UserService extends UserDetailsService {

    void createUser(RegistrationDTO registrationDTO);

    boolean emailExist(String email);
}
